<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<!-- <div class="row">
		<?php //echo $form->label($model,'id'); ?>
		<?php //echo $form->textField($model,'id'); ?>
	</div>

	<div class="row">
		<?php //echo $form->label($model,'idTenant'); ?>
		<?php //echo $form->textField($model,'idTenant'); ?>
	</div>
 -->
	<div class="row">
		<?php echo $form->label($model,'Rental Property'); ?>
		<?php echo $form->textField($model,'AddressOne'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Rental Unit'); ?>
		<?php echo $form->textField($model,'UnitNumber'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->label($model,'Tenant User Name'); ?>
		<?php echo $form->textField($model,'userName'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->label($model,'Tenant First Name'); ?>
		<?php echo $form->textField($model,'tfirstName'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->label($model,'Tenant Last Name'); ?>
		<?php echo $form->textField($model,'tlastName'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'MoveInDate'); ?>
		<?php echo $form->textField($model,'MoveInDate'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'SoftwareTenantNumber'); ?>
		<?php echo $form->textField($model,'SoftwareTenantNumber',array('size'=>15,'maxlength'=>15)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'MoveOutDate'); ?>
		<?php echo $form->textField($model,'MoveOutDate'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'LeaseEndDate'); ?>
		<?php echo $form->textField($model,'LeaseEndDate'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Occupancycol'); ?>
		<?php echo $form->textField($model,'Occupancycol'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'MonthToMonthTenancy'); ?>
		<?php echo $form->dropDownList($model,'MonthToMonthTenancy',array('0'=>'No','1'=>'Yes'),array('prompt'=>'Choose')); 
		//$form->textField($model,'MonthToMonthTenancy',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->